<?php
/**
 * 仿国外博客的主题
 * 
 * @package Fresh for Typecho
 * @author Rakiy
 * @version 1.1.0
 * @link http://ysido.com
 */
 if(strpos($_SERVER["PHP_SELF"],"themes")){header('Location:/');}
 $this->need('header.php');
 ?>
 	<!-- 正文 -->
	<article id="content">	
	<?php while($this->next()):?>
		<section class="post section">
			<h2 class="title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
			<div class="meta">
				<span class="meta-time"><?php $this->date('Y-m-d H:i:s')?></span><span class="meta-comm"><a href="<?php $this->permalink() ?>#comments" class="CommentsNumber"><?php $this->commentsNum('抢沙发', '1条评论', '%d条评论'); ?></a></span>
			</div>
			<div class="entry">
				<p><?php $this->content('阅读全文'); ?></p>
			</div>
			<div class="meta-tag"><?php _e('标签：'); ?><?php $this->tags(); ?></div>
		</section>        
	<?php endwhile;?>
	</article>
	<div id="pagenavi" class="toplevel"><?php $this->pageNav('&laquo;','&raquo;',5,'...'); ?></div><!-- /#pagenavi -->
	<?php $this->need('sidebar.php');?>
	<?php $this->need('footer.php');?>